package com.chain.galaxychain123.kotlionapp

interface Clickable {

    var name:String
     fun OnceClick()

     fun twiceClick(){
        println("...")
     }
}



class  Button:Clickable{
    override var name: String="大按钮"
    override fun OnceClick() {
        println("点击一次")
    }
    override fun twiceClick(){
        println("点击二次")
    }

}












